$('#loginForm').form('submit', {  
    url:http://www.baidu.com,  
    onSubmit: function(){  
        // do some check  
        // return false to prevent submit;  
    },  
    success:function(data){  
        alert(data)  
    }  
});